package cn.com.haopy.yue.ai.db.entity.arisk;

import cn.com.haopy.yue.ai.db.entity.BaseEntity;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.apache.ibatis.type.JdbcType;

import java.math.BigDecimal;

/**
 * @Description: TODO
 * @Author DuTao
 * @Date 2025/3/26 9:05
 */
@Data
@TableName(value = "arisk_price_step", autoResultMap = true)
@ApiModel(value = "价格区间")
public class AIRiskPriceStep extends BaseEntity {
    @TableField(value = "low_price", jdbcType = JdbcType.VARCHAR)
    @ApiModelProperty(value = "价格下限（万元）")
    private BigDecimal lowPrice;


    @TableField(value = "high_price", jdbcType = JdbcType.VARCHAR)
    @ApiModelProperty(value = "价格上限（万元）")
    private BigDecimal highPrice;

    @ApiModelProperty(value = "排序")
    @TableField(value = "sort_index", jdbcType = JdbcType.INTEGER)
    private Integer sortIndex;

    /**
     * 是否启用
     */
    @ApiModelProperty(value = "是否启用")
    @TableField(value = "`enabled`", jdbcType = JdbcType.TINYINT)
    private Boolean enabled;


}
